package com.example.demo.controller;

import java.math.BigDecimal;
import java.sql.Date;
//import java.util.Date;
public class Emp {

    private Integer empno;
    private String ename;
    private String job;
    private Integer mgr;
    private Date hiredate;
    private java.math.BigDecimal sal;
    private java.math.BigDecimal comm;
    private Integer deptno;



    public void setEmpno(Integer empno){this.empno = empno;}
    public Integer getEmpno(){return this.empno;}

    public void setEname(String ename){this.ename = ename;}
    public String getEname(){return this.ename;}

    public void setJob(String job){this.job = job;}
    public String getJob(){return this.job;}

    public void setMgr(Integer mgr){this.mgr = mgr;}
    public Integer getMgr(){return this.mgr;}

    public void setHiredate(Date hiredate){this.hiredate = hiredate;}
    public Date getHiredate(){return this.hiredate;}

    public void setSal(java.math.BigDecimal sal){this.sal = sal;}
    public java.math.BigDecimal getSal(){return this.sal;}

    public void setComm(java.math.BigDecimal comm){this.comm = comm;}
    public java.math.BigDecimal getComm(){return this.comm;}

    public void setDeptno(Integer deptno){this.deptno = deptno;}
    public Integer getDeptno(){return this.deptno;}


    public Emp() {
        super();
        // TODO Auto-generated constructor stub
    }

    public Emp(Integer empno, String ename,String job,Integer mgr,Date hiredate,java.math.BigDecimal sal,java.math.BigDecimal comm,Integer deptno) {
        super();
        this.empno = empno;
        this.ename =ename;
        this.job = job;
        this.mgr=mgr;
        this.hiredate=hiredate;
        this.sal=sal;
        this.comm=comm;
        this.deptno=deptno;
    }

    @Override
    public String toString() {
        return "t1 [ emeno=" + empno + ", ename=" + ename + ", job=" + job + ", mgr=" + mgr +",hiredate=" + hiredate +"sal=" + sal +",comm=comm" + comm +",deptno=" + deptno +"]";
    }

}
